package com.xiao.spring.aop.aop_2_aspect;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.xiao.spring.aop.bean.UserService;

public class Spring_2_0_Aspect {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("aop2.0.xml");
		UserService user = context.getBean(UserService.class);
		user.printUser();
	}
}
